package ${module.package};

import com.cellulam.framework.datasource.dao.handlers.JsonTypeHandler;
<#list importExtraList as item>
import ${item};
</#list>

@Component
public class BeanTypeHandler implements ConfigurationCustomizer {


    /**
     * @param configuration
     */
    @Override
    public void customize(Configuration configuration) {
        TypeHandlerRegistry registry = configuration.getTypeHandlerRegistry();

        <#list extraList as item>
        registry.register(${item}.class, new JsonTypeHandler<>(${item}.class));
        </#list>
    }

}
